package com.liuzu.esys.mapper;

import com.liuzu.esys.pojo.Principal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description :天干物燥，小心火烛
 * @Author : yyh
 * @Date : 2022/07/25 15:05:27
 * @desc
 */
public interface PrincipalMapper {
    List<Principal> selectByParams(Map<String, Object> params);

    int deleteByPrimaryKey(Integer id);

//    int deletePrincipalByIds(@Param("ids") String[] ids);

    int updatePrincipal(Principal principal);

    int addPrincipal(Principal principal);
}
